<%-- 
    Document   : spdcf_itemedit
    Created on : Jan 6, 2009, 10:28:57 AM
    Author     : User
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Edit Item</h2>
        <html:form action="/spdcf_itemSave.do">
            <table>
                <tr>
                    <td>Code</td>
                    <td>:</td>
                    <td><c:out value="${item.produk.kode}"/></td>
                </tr>
                <tr>
                    <td>Description</td>
                    <td>:</td>
                    <td><c:out value="${item.produk.nama}"/></td>
                </tr>
                <tr>
                    <td>Weight</td>
                    <td>:</td>
                    <td><c:out value="${item.produk.weight}"/></td>
                </tr>
                <tr>
                    <td>Quantity</td>
                    <td>:</td>
                    <td><c:out value="${item.jumlah}"/>  </td>
                </tr>
                <tr>
                    <td>Price HPP</td>
                    <td>:</td>
                    <td><html:text property="priceHpp"/></td>
                </tr>
                <tr>
                    <td>Margin Keuangan</td>
                    <td>:</td>
                    <td><html:text property="marginKeuangan"/> %</td>
                </tr>
                <tr>
                    <td valign="top">Note</td>
                    <td valign="top">:</td>
                    <td><html:textarea rows="4" cols="30" property="note"/></td>
                </tr>
            </table>           
            <br>
            <input type="submit" value="Update Now"/>
        </html:form> 
    </body>
</html>
